#include <gui/messagepage_screen/MessagePageView.hpp>

MessagePageView::MessagePageView()
{

}

void MessagePageView::setupScreen()
{
    MessagePageViewBase::setupScreen();
}

void MessagePageView::tearDownScreen()
{
    MessagePageViewBase::tearDownScreen();
}

void MessagePageView::passwordcat2()
{
		presenter->currentPatternDigitals *= 10;
	  presenter->currentPatternDigitals += 2;
	  presenter->revealHeldPassword();
}

void MessagePageView::passwordcat3()
{
	  presenter->currentPatternDigitals *= 10;
	  presenter->currentPatternDigitals += 3;
	  presenter->revealHeldPassword();
}

void MessagePageView::revealPassword(int pwd)
{
	  if (pwd < 1000)
			  return;
		else
		{
			  if (2333 == pwd)
				{
					  goToDialPage();
				}
		}
	  
}